Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixing overlapping room image and title #5469

Merged
merged 1 commit into from
Mar 9, 2022

Conversation

ouchadam
Copy link
Contributor

@ouchadam ouchadam commented Mar 9, 2022

Type of change

  • Feature
  • Bugfix
  • Technical
  • Other :

Content

Fixes #5468

Introduces a barrier which contains all the possible leading icons, allowing us to be sure the text is always aligned to the right of whichever icon is currently present.

Motivation and context

The room toolbar title is overlapping image due to missing constraints when the badge icon is not present

Screenshots / GIFs

BEFORE AFTER
before-rt after-rt
before-rt2 after-rt2
before-rt3 after-rt3

Tests

  • Open a room a clear room, such as element-android
  • Notice the room title overlaps the images

Tested devices

  • Physical
  • Emulator
  • OS version(s): Pocofone f1 (28)

- the room title was missing constraints for the different types of leading icons
@ouchadam ouchadam requested review from a team and ganfra and removed request for a team March 9, 2022 09:40
@ouchadam ouchadam added PR-Small PR with less than 20 updated lines Z-NextRelease For issues and PRs which should be included in the NextRelease. labels Mar 9, 2022
Copy link
Member

@ganfra ganfra left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM thanks!

Copy link
Member

@bmarty bmarty left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I cannot resist to also approve this PR

@github-actions
Copy link

github-actions bot commented Mar 9, 2022

Unit Test Results

  96 files  ±0    96 suites  ±0   1m 15s ⏱️ +7s
172 tests ±0  172 ✔️ ±0  0 💤 ±0  0 ±0 
564 runs  ±0  564 ✔️ ±0  0 💤 ±0  0 ±0 

Results for commit 7b4598f. ± Comparison against base commit 2048b85.

@ouchadam ouchadam merged commit 662e959 into release/v1.4.4 Mar 9, 2022
@ouchadam ouchadam deleted the feature/adm/constraining-room-title branch March 9, 2022 10:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PR-Small PR with less than 20 updated lines Z-NextRelease For issues and PRs which should be included in the NextRelease.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants